//
//  NearbyPathViewController.h
//  安好
//
//  Created by lianchuang on 14/12/3.
//  Copyright (c) 2014年 lianchuangbrother. All rights reserved.
//

#import "BaseViewController.h"
#import <MapKit/MapKit.h>
#import <AMapSearchKit/AMapSearchAPI.h>
#import <MAMapKit/MAMapKit.h>
@interface NearbyPathViewController : BaseViewController<AMapSearchDelegate,MAMapViewDelegate,CLLocationManagerDelegate>

@property (nonatomic, strong) MAMapView *mapView;
@property (nonatomic, strong) AMapSearchAPI *search;
/**
 *  目的poi
 */
@property (nonatomic, strong) MAPolyline *polyline;
@property (nonatomic, strong) AMapPOI *p;
/**
 *  目的经纬度
 */
@property (nonatomic, assign) float lngtited;
@property (nonatomic, assign) float lattited;


@property (nonatomic, strong) NSDictionary *destinationDic;
@property (nonatomic, strong) CLLocationManager *locationManager;

@property (nonatomic, strong) NSMutableArray          *illHospitalLatArr;
@property (nonatomic, strong) NSMutableArray          *illHospitalLonArr;

@property (nonatomic, strong) NSMutableArray          *detailStepArray;
/**
 *  上一步  下一步和详细步骤toolbar
 */
@property (nonatomic, strong) UIView *toolView;
/**
 *  若是公交线路时，必须有城市名称
 */
@property (nonatomic, strong) NSString *cityName;

/**
 *  用户当前的经纬度
 */
@property (nonatomic, assign) float lng;
@property (nonatomic, assign) float lat;
/**
 *  判断是否来自药店
 */
@property (nonatomic, assign) BOOL isFromStore;
/**
 *  判断是否来自医院
 */
@property (nonatomic, assign) BOOL isFromHosp;
@end
